|
home |
Setting up a cygwin Rockbox development environmentEric Lassauge has kindly compiled the SH-1 and 68K/COLDFIRE cross GCC tools as Cygwin packages and put them up for us to use. (SH-1 = archos, 68K/coldfire = iriver) WARNING These versions do not work correctly to build current rockbox code. You are strongly advised to build your own CrossCompiler instead.. It will fail when it reaches dumb, as preglow so eloquently put it in irc "dumb will vomit". "cygwin doesn't like us these days"...
Step 1: Download the cygwin installerGo to the cygwin home page, http://www.cygwin.com and download setup.exe from there ("Install or update now!").
Step 2: Install the base development environmentIf you are unsure about the questions asked by the installer, just choose the default. When you are asked to select the packages to install, select the following, except for the Base, which is required:
Step 3: Select Eric's mirror site and installStart the Setup program again. When the installer prompts you for a mirror site URL, enter http://lassauge.free.fr/cygwin/ in the "User URL" field. Select these packages (for SH1) and install:
Or these packages (for 68K/COLDFIRE) and install:
You can also select the pseudo package Devel - rockbox-devel and all the above packages will be selected. If you want to have sound in the uisimulator you can get and install the following package:
Step 4: Set the PATH variableNow you edit your .bash_profile and add the following last:
PATH=${PATH}:/opt/sh1/bin or PATH=${PATH}:/opt/m68k/bin Done. Happy hacking!
|